package com.inspur.sc.springboot.service;

import com.inspur.sc.springboot.entity.SysPermission;

import java.util.List;

public interface SysPermissionService {

    boolean save(SysPermission permission);

    SysPermission findById(Integer id);

    List<SysPermission> findAll();

    List<SysPermission> findByGroupId(Integer groupId);

    boolean deleteById(Integer id);
}
